import request from '@/utils/request'

/**
 * 获取首页数据
 */
export const getHomeDataAPI = () => {
  return request({
    method: 'get',
    url: '/home/data'
  })
}

/**
 * 获取首页消息通知
 */
export const getHomeNoticeAPI = () => {
  return request({
    method: 'get',
    url: '/home/notice'
  })
}
